/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package DTO;

import java.util.Date;

/**
 *
 * @author Phung
 */
public class DoanTau_DTO {
    private String MaDT;
    private String TenDT;
    private int LoaiDT;
    private String HangSX;
    // Chú ý chèn dạng này cho sql Date '01-01-2014'
    private Date NgayHD;

    public DoanTau_DTO() {
    }

    public DoanTau_DTO(String MaDT, String TenDT, int LoaiDT, String HangSX, Date NgayHD) {
        this.MaDT = MaDT;
        this.TenDT = TenDT;
        this.LoaiDT = LoaiDT;
        this.HangSX = HangSX;
        this.NgayHD = NgayHD;
    }

    public int getLoaiDT() {
        return LoaiDT;
    }

    public String getHangSX() {
        return HangSX;
    }

    public String getMaDT() {
        return MaDT;
    }

    public Date getNgayHD() {
        return NgayHD;
    }

    public String getTenDT() {
        return TenDT;
    }

    public void setHangSX(String HangSX) {
        this.HangSX = HangSX;
    }

    public void setLoaiDT(int LoaiDT) {
        this.LoaiDT = LoaiDT;
    }

    public void setMaDT(String MaDT) {
        this.MaDT = MaDT;
    }

    public void setNgayHD(Date NgayHD) {
        this.NgayHD = NgayHD;
    }

    public void setTenDT(String TenDT) {
        this.TenDT = TenDT;
    }
    
}
